home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / games / battlefi.swf / scripts / frame_636 / PlaceObject2_295_1315 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2010-11-09  |  474b  |  25 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.vic)
  3.    {
  4.       this._y = 1491.2;
  5.    }
  6.    if(_root.loss)
  7.    {
  8.       this._y = 1491.2;
  9.    }
  10.    count++;
  11.    if(count == 79)
  12.    {
  13.       i = 1;
  14.       while(i < _root.lvl + 1)
  15.       {
  16.          duplicateMovieClip(_root.a,"a" + i,16384 + (1000 + i));
  17.          _root["a" + i]._x = random(100) + 315.1;
  18.          _root["a" + i]._y = 219.3;
  19.          _root.arrownoise.play();
  20.          count = 0;
  21.          i++;
  22.       }
  23.    }
  24. }
  25.